import _axios from './request'
// tab栏菜单
function homeDetails (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/home/home_details',
    data
  })
}
// 列表
function homeList (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/home/home_list',
    data
  })
}
// 圈子-热门球类
function communityColumn (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/community/community_column',
    data
  })
}
// 圈子-精贴  /app/manage/community/good_note
function goodNote (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/community/good_note',
    data
  })
}
// 圈子-文章  /app/manage/community/community_note_list
function communityNoteList (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/community/community_note_list',
    data
  })
}
// 圈子-关注  /app/manage/community/community_note_list
function communityNote (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/community/community_note_list',
    data,
    needToken: true
  })
}
// 视频-集锦  /app/manage/video/video_list
function videoList (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/video/video_list',
    data
  })
}
// 头条-文章详情 http://47.115.7.4
function informationDetails (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/home/information_details',
    data
  })
}
// 头条-文章详情-更多  http://47.115.7.4
function recommendInformation (data) {
  return _axios({
    method: 'post',
    url: '/app/manage/home/recommend_information',
    data
  })
}
export {
  homeDetails,
  homeList,
  communityColumn,
  goodNote,
  communityNoteList,
  communityNote,
  videoList,
  informationDetails,
  recommendInformation
}
